package com.bootdo.finance.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.finance.dao.DailyreDao;
import com.bootdo.finance.domain.DailyreDO;
import com.bootdo.finance.service.DailyreService;



@Service
public class DailyreServiceImpl implements DailyreService {
	@Autowired
	private DailyreDao dailyreDao;
	
	@Override
	public DailyreDO get(Integer id){
		return dailyreDao.get(id);
	}
	
	@Override
	public List<DailyreDO> list(Map<String, Object> map){
		return dailyreDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return dailyreDao.count(map);
	}
	
	@Override
	public int save(DailyreDO dailyre){
		return dailyreDao.save(dailyre);
	}
	
	@Override
	public int update(DailyreDO dailyre){
		return dailyreDao.update(dailyre);
	}
	
	@Override
	public int remove(Integer id){
		return dailyreDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return dailyreDao.batchRemove(ids);
	}
	
}
